import request from '@/utils/request'

// 文件上传
export function uploadFile(data, onUploadProgress) {
  return request({
    url: '/web/file/upload',
    method: 'post',
    data,
    onUploadProgress
  })
}